package com.blb.ssm.entity;

/**
 * 采购单order
 * @author Administrator
 *
 */
public class Order {
	private String oid;		//采购单主键
	private String osname;	//采购单供应商
	private String oname;	//采购单采购员
	private String onum;	//采购单单据号
	private int ostate;		//采购单状态
	private String odate;	//采购单日期
	private String omsg;	//采购单备注
	private String odepot;	//采购单仓库
	private String obill;	//采购单票号
	private int otype;		//采购单类型
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public String getOsname() {
		return osname;
	}
	public void setOsname(String osname) {
		this.osname = osname;
	}
	public String getOname() {
		return oname;
	}
	public void setOname(String oname) {
		this.oname = oname;
	}
	public String getOnum() {
		return onum;
	}
	public void setOnum(String onum) {
		this.onum = onum;
	}
	public int getOstate() {
		return ostate;
	}
	public void setOstate(int ostate) {
		this.ostate = ostate;
	}
	public String getOdate() {
		return odate;
	}
	public void setOdate(String odate) {
		this.odate = odate;
	}
	public String getOmsg() {
		return omsg;
	}
	public void setOmsg(String omsg) {
		this.omsg = omsg;
	}
	public String getOdepot() {
		return odepot;
	}
	public void setOdepot(String odepot) {
		this.odepot = odepot;
	}
	public String getObill() {
		return obill;
	}
	public void setObill(String obill) {
		this.obill = obill;
	}
	public int getOtype() {
		return otype;
	}
	public void setOtype(int otype) {
		this.otype = otype;
	}
	public Order() {
		super();
	}
	public Order(String oid, String osname, String oname, String onum, int ostate, String odate, String omsg,
			String odepot, String obill, int otype) {
		super();
		this.oid = oid;
		this.osname = osname;
		this.oname = oname;
		this.onum = onum;
		this.ostate = ostate;
		this.odate = odate;
		this.omsg = omsg;
		this.odepot = odepot;
		this.obill = obill;
		this.otype = otype;
	}
	@Override
	public String toString() {
		return "Order [oid=" + oid + ", osname=" + osname + ", oname=" + oname + ", onum=" + onum + ", ostate=" + ostate
				+ ", odate=" + odate + ", omsg=" + omsg + ", odepot=" + odepot + ", obill=" + obill + ", otype=" + otype
				+ "]";
	}
	
}
